#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
int C,B,A;
cout << "A=";
cin >>A;
cout << "B=";
cin >>B;
cout << "C=";
cin >>C;
cout <<"Otvet: "<< endl;
if ((A<C)&&(A<B)&&(C>B))
{
        cout <<"2A="<< 2*A << endl;
        cout <<"2B="<< 2*B << endl;
        cout <<"2C="<< 2*C << endl;
}
else
{
    cout <<"-A="<< (-1*A) << endl;
    cout <<"-B="<< (-1*B) << endl;
    cout <<"-C="<< (-1*C) << endl;
}
return 0;
}
